home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / misc / xref_v1.1.lha / XRef / Tools / lib / mysprintf.asm < prev    next >
Encoding:
Assembly Source File  |  1994-09-11  |  673 b   |  43 lines

  1. ;
  2. ; $PROJECT: xrefsupport.lib
  3. ;
  4. ; $VER: mysprintf.asm 1.1 (08.09.94)
  5. ;
  6. ; by
  7. ;
  8. ; Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. ;
  10. ; (C) Copyright 1994
  11. ; All Rights Reserved !
  12. ;
  13. ; $HISTORY:
  14. ;
  15. ; 08.09.94 : 001.001 :  initial
  16. ;
  17.  
  18.    xref _LVORawDoFmt
  19.  
  20. ; my asm functions
  21.  
  22.    xdef __mysprintf
  23.  
  24.    section code
  25.  
  26. ; ULONG mysprintf(REGA3 STRPTR buffer,REGA0 fmt,REGA1 APTR data,REGA6 struct Library *SysBase)
  27. __mysprintf:
  28.    movem.l a2,-(sp)
  29.  
  30.    lea.l   stuffChar(pc),a2
  31.    jsr     _LVORawDoFmt(a6)
  32.  
  33.    movem.l (sp)+,a2
  34.    rts
  35.  
  36. ;------ PutChProc function used by RawDoFmt -----------
  37. stuffChar:
  38.    move.b  d0,(a3)+        ;Put data to output string
  39.    rts
  40.  
  41.    end
  42.  
  43.